<?php

class Photo {

    public $id;
    public $url;
    public $gallery_id;

    public function get_thumbnail_url() {
        return "thumbnails/" . $this->url;
    }

    public function get_full_size_url() {
        return "photos/" . $this->url;
    }

}

?>